package com.yuye.test.order.impl;

import com.yuye.application.custom.OrderCustomService;
import com.yuye.test.order.DemoService;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

@Service
@Order(1)
public class DemoServiceImpl03 extends OrderCustomService implements DemoService{

    public DemoServiceImpl03() {
        System.out.println("DemoServiceImpl03被实例化了");
    }

    @Override
    public void say() {
        System.out.println("DemoServiceImpl03被执行了");
    }

//    @Override
//    public int getOrder() {
//        return 1;
//    }
}